// FILE: Emulator.h by Richard Hughes 28/04/2012
//
// DESC: Defines basic required objects and types

#ifndef __emulator_h__
#define __emulator_h__

// INCLUDES
#include <stdint.h>

namespace Emulator
{

#ifndef NULL
#define NULL 0
#endif

// are we big or little endian?
// takes nothing
// returns true if we are big endian, false if we are little
bool IsSystemBigEndian();

// TYPEDEFS
typedef uint8_t byte;
typedef uint16_t address;
typedef uint16_t opcode;

} // end namespace emulator

#endif // __emulator_h__

// EOF: Emulator.h